package top.tangyh.lamp.care.vo.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.tangyh.basic.base.entity.Entity;

import java.time.LocalDateTime;

@Data
@Schema(description ="IoRecordVO  ")
public class IoRecordVO   extends Entity<Long> {

    private static final long serialVersionUID = 1L;

//    @Schema(description ="主键")
//    private Long id;

    @Schema(description ="病人健康号")
    private String patientIdent;

    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @Schema(description ="班次时间")
    private LocalDateTime time;

    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    @Schema(description ="真实时间")
    private LocalDateTime realTime;

    @Schema(description ="项目值")
    private String ioValue;

    @Schema(description ="项目名称 ")
    private String medication;

    @Schema(description =  "执行用药组号")
    private String groupId;

    /**
     * 打印一次剂量
     */
    private String dyAmount;
    /**
     * 打印一次剂量单位
     */
    private String dyAmountUnit;

    @Schema(description ="出入量配置id")
    private Long ioId;

    @Schema(description ="类型 1、入量 2、出量")
    private Integer isType;

    @Schema(description =  "病人住院号")
    private String hospitalNumber;

    @Schema(description =  "出入量选项名称")
    private String itemName;


    @Schema(description ="入量出量类型 crl-in：入量 crl-out：出量")
    private String modelCode;
    @Schema(description ="出入量配置id")
    private Long itemId;

    @Schema(description ="出入量配置code")
    private String itemCode;
    @Schema(description ="排序值")
    private  Integer orderValue;

    @Schema(description ="出入量配置表那边对应的模块名称")
    private String modeCodeConfig;

    @Schema(description =  "是否主要 0否 1 是")
    private Integer isMaster;

    @Schema(description =  "执行用药计划时间")
    private LocalDateTime planTime;
}
